package com.example.threaddemo.t19;

/**
 * @Author：wlz
 * @Package：com.example.threaddemo.t19
 * @Project：threaddemo
 * @name：Run
 * @Date：2023/3/30 23:03
 * @Filename：Run
 */
public class Run {
    public static void main(String[] args) {
        for (int i = 0; i < 50; i++) {
            MyThread thread = new MyThread();
            thread.setPriority(10);
            thread.start();
            MyThread2 thread2 = new MyThread2();
            thread2.setPriority(1);
            thread2.start();
        }
    }
}
